翻訳と辞書
Words near each other
・ Control Council Law No. 1 - Repealing of Nazi Laws
・ Control Data (album)
・ Control Data Corporation
・ Control Data Institute
・ Control deck
・ Control Denied
・ Control display unit
・ Control engineering
・ Control Engineering (magazine)
・ Control environment
・ Control event rate
・ Control Factor
・ Control flow
・ Control flow analysis
・ Control flow diagram
Control flow graph
・ Control fraud
・ Control freak
・ Control Freaks
・ Control Freaks (album)
・ Control Freaks (TV series)
・ Control Freaks – The Remixes
・ Control Freek
・ Control Freq
・ Control function (econometrics)
・ Control grid
・ Control Group
・ Control key
・ Control knob
・ Control limits


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Control flow graph : ウィキペディア英語版
Control flow graph

A control flow graph (CFG) in computer science is a representation, using graph notation, of all paths that might be traversed through a program during its execution. The control flow graph is due to Frances E. Allen, who notes that Reese T. Prosser used boolean connectivity matrices for flow analysis before.
The CFG is essential to many compiler optimizations and static analysis tools.
== Definition ==
In a control flow graph each node in the graph represents a basic block, i.e. a straight-line piece of code without any jumps or jump targets; jump targets start a block, and jumps end a block. Directed edges are used to represent jumps in the control flow. There are, in most presentations, two specially designated blocks: the ''entry block'', through which control enters into the flow graph, and the ''exit block'', through which all control flow leaves.
Because of its construction procedure, in a non-trivial CFG (i.e. one with more than zero edges), every edge A→B has the property that:
: outdegree(A) > 1 or indegree(B) > 1 (or both).
The CFG can thus be obtained, at least conceptually, by starting from the program's (full) flow graph—i.e. the graph in which every node represents an individual instruction—and performing an edge contraction for every edge that falsifies the predicate above, i.e. contracting every edge whose source has a single exit and whose destination has a single entry. This contraction-based algorithm is of no practical importance, except as a visualization aid for understanding the CFG construction, because the CFG can be more efficiently constructed directly from the program by scanning it for basic blocks.〔

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Control flow graph」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.